package com.yubest.designpattern.struct.facade;

/**
 * 外观
 *
 * @Author: hweiyu
 * @Date: 2022/10/26 14:01
 */
public class Facade {

    /**
     * 回家
     */
    public void goHome() {
        Home home = new Home();
        //开门
        home.opDoor();
        //进入
        home.enter();
        //开灯
        home.turnOnLight();
        //脱鞋
        home.takeOffShoes();
    }
}
